import { _decorator, Component, Node } from 'cc';
import { BaseObject } from '../../ccc3-framework-core/framework/modules/baseObject';
const { ccclass, property } = _decorator;

@ccclass('fatigueItem')
export class fatigueItem extends BaseObject {

    @property(Node)
    imgActive: Node = null;

    @property(Node)
    imgUnActive: Node = null;

    start() {

    }

    public init(active: boolean) {
        this.imgActive.active = active;
    }

    update(deltaTime: number) {

    }
}

